<template>
  <div>
    <p>count: {{ value }}</p>
    <button @click="$emit('input', value + 1)">Child add</button>
  </div>
</template>

<script>
export default {
  name: "ChildComp",
  props: {
    value: {
      type: Number,
      required: true,
    },
  },
};
</script>
